x86: enable directed EOI
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 06:58:19 +0000 (06:58 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 06:58:19 +0000 (06:58 +0000)
commit3cfaf63e09773f7046e35b9287a94323840fcacf
tree76bfa9dccf98f8a18ed1f1ffd824918684ed8e78
parentf38d55cb34b5c5853bb5b5c21537df6c68071876
x86: enable directed EOI

This patch enables directed EOI on latest processor. With this, the
broadcast of EOI would be suppressed upon LAPIC EOI, so VMM is
required to perform a directed EOI to the IOxAPIC generating the
interrupt by writting to its EOI register.(Pls. refer SDM 3A 10.5.5)

This is useful for ioapic_ack_old to avoid the spurious interrupt
storm, which is the reason why ioapic_ack_new is used.

Signed-Off-By: Zhai Edwin <edwin.zhai@intel.com>
xen/arch/x86/apic.c
xen/arch/x86/io_apic.c
xen/include/asm-x86/apic.h
xen/include/asm-x86/apicdef.h
xen/include/asm-x86/io_apic.h